const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  lintOnSave: false,
  configureWebpack: {
    devServer: {
      port: 80,
      proxy: {
        "/api": {
          target: "http://localhost:8080/",
          changeOrigin: true,
          ws: true,
          pathRewrite: {
            "^/api": "",
          },
        },
      },
    },
  }
})
